//
//  AboutUs.m
//  Vesstack_a
//
//  Created by 陈德锋 on 16/3/10.
//  Copyright © 2016年 vesstack. All rights reserved.
//

#import "AboutUs.h"

@interface AboutUs ()

@property(nonatomic, strong) UIScrollView *scroll;
@property(nonatomic, strong) UIImageView *imageView;

@end

@implementation AboutUs

-(void) viewDidLoad{
    [super viewDidLoad];
    self.tabBarController.tabBar.hidden = YES;
    _scroll = [[UIScrollView alloc] init];
    
    _scroll.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
    _scroll.contentSize = CGSizeMake(self.view.frame.size.width, 720);
    _scroll.backgroundColor = [UIColor whiteColor];
    _scroll.showsVerticalScrollIndicator = false;
    
    _imageView = [[UIImageView alloc] init];
    _imageView.frame = CGRectMake(0, 0, self.view.frame.size.width, 720);
    _imageView.image = [UIImage imageNamed:@"aboutus.jpg"];
    
    [_scroll addSubview:_imageView];
    
    _scroll.scrollEnabled = YES;
    
    [self.view addSubview:_scroll];
}

@end
